package com.campus.delivery.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 配送员抢单参数
 * </p>
 *
 * @author ZhaoYuJie
 * @since 2025-05-12
 */
@Data
@ApiModel("配送员抢单参数")
public class GrabOrderBean {
    @NotBlank(message = "订单ID不能为空")
    @ApiModelProperty("订单ID")
    private String orderId;

    @NotNull(message = "配送员ID不能为空")
    @ApiModelProperty("配送员ID")
    private Integer deliveryId;
}